Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vehicle_cmd_gate): improve debug marker activation #5426

Merged

Conversation

1222-takeshi
Copy link
Contributor

@1222-takeshi 1222-takeshi commented Oct 27, 2023

Description

The following features were added in this pull request

  • Filtering the output of debug marker caused by MPC calculation errors or at the time of engage, etc.
  • Add a flag to indicate whether the filtered marker is being output or not.

Related links

autowarefoundation/autoware_launch#659

Tests performed

filter_activated_count_threshold_ = 5

rosbag-2023-10-27_15.46.37.mp4

filter_activated_count_threshold_ = 10

rosbag-2023-10-27_15.52.41.mp4

Notes for reviewers

Interface changes

none

Effects on system behavior

none

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:control Vehicle control algorithms and mechanisms. (auto-assigned) labels Oct 27, 2023
@1222-takeshi 1222-takeshi changed the title feat(vehicle_cmd_gate): improve filter activated marker feat(vehicle_cmd_gate): improve debug marker Oct 27, 2023
@1222-takeshi 1222-takeshi changed the title feat(vehicle_cmd_gate): improve debug marker feat(vehicle_cmd_gate): improve debug marker activation Oct 27, 2023
@1222-takeshi 1222-takeshi force-pushed the feat/improve-filter-marker branch from bfb8191 to c4fab1f Compare October 30, 2023 04:43
@1222-takeshi 1222-takeshi force-pushed the feat/improve-filter-marker branch from c4fab1f to 83382d6 Compare October 30, 2023 05:25
Copy link
Contributor

@tkimura4 tkimura4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tkimura4 tkimura4 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Nov 1, 2023
@tkimura4 tkimura4 enabled auto-merge (squash) November 1, 2023 04:05
Copy link

codecov bot commented Nov 1, 2023

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (82a6c0c) 14.75% compared to head (00bf3d9) 14.76%.
Report is 31 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5426   +/-   ##
=======================================
  Coverage   14.75%   14.76%           
=======================================
  Files        1661     1661           
  Lines      115525   115544   +19     
  Branches    35670    35681   +11     
=======================================
+ Hits        17050    17059    +9     
- Misses      79231    79232    +1     
- Partials    19244    19253    +9     
Flag Coverage Δ *Carryforward flag
differential 41.33% <45.00%> (?)
total 14.75% <ø> (+<0.01%) ⬆️ Carriedforward from 82a6c0c

*This pull request uses carry forward flags. Click here to find out more.

Files Coverage Δ
control/vehicle_cmd_gate/src/vehicle_cmd_gate.hpp 0.00% <ø> (ø)
control/vehicle_cmd_gate/src/vehicle_cmd_gate.cpp 25.31% <45.00%> (+1.09%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tkimura4 tkimura4 merged commit 17b02d3 into autowarefoundation:main Nov 1, 2023
34 of 35 checks passed
@1222-takeshi 1222-takeshi deleted the feat/improve-filter-marker branch November 1, 2023 05:11
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Nov 1, 2023
…dation#5426)

* feat(vehicle_cmd_gate): improve filter marker logic

Signed-off-by: 1222-takeshi <[email protected]>

* feat: update filtered logic

Signed-off-by: 1222-takeshi <[email protected]>

* chore: update README.md

Signed-off-by: 1222-takeshi <[email protected]>

* feat: update parameter

Signed-off-by: 1222-takeshi <[email protected]>

* feat: add condition for filtering marker

Signed-off-by: 1222-takeshi <[email protected]>

* refactor: add publishMarker function

Signed-off-by: 1222-takeshi <[email protected]>

---------

Signed-off-by: 1222-takeshi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:control Vehicle control algorithms and mechanisms. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants